package com.lz.autotest.project.testmanage.autoTest.mapper;

import com.lz.autotest.project.testmanage.autoTest.entity.TsstAutotestItem;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author: X
 * @date: Created in 2023/6/15 16:48
 * @Description:
 */
@Repository
public interface TsstAutotestItemMapper {

    /**
     * 新增
     * @author zip.li
     * @date 2023/06/15
     **/
    int insert(TsstAutotestItem tsstAutotestItem);

    /**
     * 刪除
     * @author zip.li
     * @date 2023/06/15
     **/
    int delete(Long id);

    /**
     * 更新
     * @author zip.li
     * @date 2023/06/15
     **/
    int update(TsstAutotestItem tsstAutotestItem);

    /**
     * 查询 根据主键 id 查询
     * @author zip.li
     * @date 2023/06/15
     **/
    TsstAutotestItem load(int id);

    /**
     * 批量新增
     * @author zip.li
     * @date 2023/06/15
     **/
    void batchInsetATI(List<TsstAutotestItem> tsstAutotestItems);
}
